<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html><meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>bad_result_access - Boost.Outcome documentation</title>
<link rel="stylesheet" href="../../css/boost.css" type="text/css">
<meta name="generator" content="Hugo 0.52 with Boostdoc theme">
<meta name="viewport" content="width=device-width,initial-scale=1.0"/>

<link rel="icon" href="../../images/favicon.ico" type="image/ico"/>
<body><div class="spirit-nav">
<a accesskey="p" href="../../reference/types/bad_result_access_with.html"><img src="../../images/prev.png" alt="Prev"></a>
    <a accesskey="u" href="../../reference/types.html"><img src="../../images/up.png" alt="Up"></a>
    <a accesskey="h" href="../../index.html"><img src="../../images/home.png" alt="Home"></a><a accesskey="n" href="../../reference/types/awaitables/eager.html"><img src="../../images/next.png" alt="Next"></a></div><div id="content">
  <div class="titlepage"><div><div><h1 style="clear: both"><code>bad_result_access</code></h1></div></div></div>
  <p>Exception type publicly inheriting from 
<a href="https://en.cppreference.com/w/cpp/error/logic_error" class="api-reference" target="_blank"><i class="fa fa-book" aria-hidden="true"></i> <code>std::logic_error</code></a>
 indicating an incorrect observation of value or error occurred by <a href="../../reference/types/basic_result.html" class="api-reference"><code>basic_result&lt;T, E, NoValuePolicy&gt;</code></a>
.</p>

<p>No member functions are added in addition to <code>std::logic_error</code>. Typical <code>.what()</code> strings are:</p>

<ul>
<li><code>&quot;no value&quot;</code></li>
<li><code>&quot;no error&quot;</code></li>
</ul>

<p><em>Requires</em>: Nothing.</p>

<p><em>Namespace</em>: <code>BOOST_OUTCOME_V2_NAMESPACE</code></p>

<p><em>Header</em>: <code>&lt;boost/outcome/bad_access.hpp&gt;</code></p>


        </div><p><small>Last revised: January 25, 2019 at 01:51:37 UTC</small></p>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="../../reference/types/bad_result_access_with.html"><img src="../../images/prev.png" alt="Prev"></a>
    <a accesskey="u" href="../../reference/types.html"><img src="../../images/up.png" alt="Up"></a>
    <a accesskey="h" href="../../index.html"><img src="../../images/home.png" alt="Home"></a><a accesskey="n" href="../../reference/types/awaitables/eager.html"><img src="../../images/next.png" alt="Next"></a></div></body>
</html>
